package com.gfm.story.controller;

import com.gfm.story.entity.user.User;
import com.gfm.story.service.user.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.annotation.Resource;
import java.util.List;

/**
 * @BelongsProject: story
 * @BelongsPackage: com.gfm.story.controller
 * @Author: Administrator
 * @CreateTime: 2019-06-03 12:27
 * @Description: ${Description}
 */
@Controller
public class home {

    @Resource
    private UserService userService;

    @RequestMapping("/")
    public String home(ModelMap modelMap){
        return "redirect:/Story/getAllCategoryStoryList?isLogin="+"";
    }
}
